﻿using System.Media;

namespace demo
{
    public class WavePlayer
    {
        public static void Play(string wav)
        {
            SoundPlayer player = new SoundPlayer();
            player.SoundLocation = wav;
            player.Load();
            player.Play();

        }
    }

}